﻿@model List<SenFangKaoHe_MVC.Models.Entity.tiku>;
@{
    Layout = null;
    ViewData["title"] = "模拟练习";
}
<script src="/js/jquery-3.7.1.min.js"></script>
<link rel="stylesheet" href="~/css/ShiJuanStyle.css" />
<div id="info">
    <div id="info1">
        <div>
            请选择练习题库
            <br />
            <select id="tikulist" style="text-align:center;">
                @foreach (var tk in @Model)
                {
                    <option value="@tk.id">@tk.tikuming</option>
                }
            </select>
            <br />
            <input type="button" id="moni" value="模拟考核" onclick="moniclick()" /><br />
            <input type="button" id="lianxi" value="理论学习" onclick="lianxiclick()" />
        </div>
        
    </div>
</div>

<script>
    function moniclick(){
        var url = "/LianXi/MoNi/"+ $("#tikulist").val();
        console.log(url);
        window.location.href = url;
    }

    function lianxiclick(){
        var url = "/LianXi/LianXi/"+ $("#tikulist").val();
        console.log(url);
        window.location.href = url;
    }
</script>